package tagdb.denovo;

import java.util.List;

/**
 * <b>DenovoResult</b>
 * <p>
 * This class represents the PepnovoFile with all information regarding the PepNovo-Output-File
 * </p>
 *
 * @author T.Muth
 */
public class DenovoResult {

    /**
     * The name of the PepNovo output file.
     */
    private String filename;

    /**
     * The list of the output spectra.
     */
    private List<DenovoEntry> entryList;

    /**
     * The number of processed spectra.
     */
    private int numberSpectra;

    /**
     * Constructor for the pepnovo file.
     *
     * @param filename
     */
    public DenovoResult(String filename) {
        this.filename = filename;
    }

    /**
     * Returns the name of the PepNovo output file.
     *
     * @return filename String
     */
    public String getFilename() {
        return filename;
    }

    /**
     * Sets the name of the PepNovo output file.
     *
     * @param filename String
     */
    public void setFilename(String filename) {
        this.filename = filename;
    }

    /**
     * Returns the entryList.
     *
     * @return entryList List<PepnovoEntry>
     */
    public List<DenovoEntry> getEntryList() {
        return entryList;
    }

    /**
     * Sets the entry list.
     *
     * @param entryList
     */
    public void setEntryList(List<DenovoEntry> entryList) {
        this.entryList = entryList;
    }

    /**
     * Returns the number of processed spectra.
     *
     * @return numberSpectra
     */
    public int getNumberSpectra() {
        return numberSpectra;
    }

    /**
     * Sets the number of processed spectra.
     *
     * @param numberSpectra
     */
    public void setNumberSpectra(int numberSpectra) {
        this.numberSpectra = numberSpectra;
    }
}
